<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<html>
<head>

<title>复数的计算</title>

</head>

<body>


	<h3 style="margin-top: 100px; text-align: center;">显示信息</h3>
	<table style="margin: 10px auto;">

		<%
			if (request.getAttribute("+") != null) {
		%>
		<tr>
			<td>加法</td>
			<td><%=request.getAttribute("+")%></td>
		</tr>
		<%
			}
		%>
		<%
			if (request.getAttribute("-") != null) {
		%>
		<tr>
			<td>减法</td>
			<td><%=request.getAttribute("-")%></td>
		</tr>
		<%
			}
		%>
		<%
			if (request.getAttribute("*") != null) {
		%>
		<tr>
			<td>乘法</td>
			<td><%=request.getAttribute("*")%></td>
		</tr>
		<%
			}
		%>
		<%
			if (request.getAttribute("/") != null) {
		%>
		<tr>
			<td>除法</td>
			<td><%=request.getAttribute("/")%></td>
		</tr>
		<%
			}
		%>

	</table>
</body>
</html>
